Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update build instructions #525

Merged
merged 1 commit into from
Mar 28, 2022
Merged

update build instructions #525

merged 1 commit into from
Mar 28, 2022

Conversation

noraj
Copy link
Contributor

@noraj noraj commented Mar 3, 2022

reflects the new npm scripts

BloodHound/package.json

Lines 33 to 47 in 5ac7a21

"scripts": {
"start": "run-s start:client",
"start:server": "babel-node server.js",
"start:client": "cross-env NODE_ENV=development electron .",
"dev": "run-p start:**",
"compile": "webpack --config webpack.config.production.js",
"package": "electron-packager . BloodHound --overwrite --prune --ignore=./*.zip --ignore=./BloodHound.* --ignore=BloodHoundExampleDB.db --ignore=docs --ignore=Ingestors --ignore=node_modules/\\.bin",
"package:linux": "run-s \"package -- --platform=linux --arch=x64,armv7l,arm64\"",
"package:macos": "run-s \"package -- --platform=darwin --arch=all --icon=src/img/icon.icns\"",
"package:win32": "run-s \"package -- --platform=win32 --arch=all --icon=src/img/icon.ico\"",
"build:win32": "run-s compile package:win32",
"build:linux": "run-s compile package:linux",
"build:macos": "run-s compile package:macos",
"build": "sh -c 'if [ \"$(run-s env:os)\" == \"win32\" ]; then run-s compile \"package -- --icon=src/img/icon.ico ${*}\"; else run-s compile \"package -- --icon=src/img/icon.icns ${*}\" ; fi' --",
"env:os": "node -e \"console.log(process.platform)\""

@ddlees ddlees merged commit b47916f into BloodHoundAD:master Mar 28, 2022
@noraj noraj deleted the build branch March 29, 2022 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants